<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
	class Sites extends CI_Controller{
		
		public function index()
		{
			if( ! file_exists('application/views/sites/index.php') )
			{
				show_404();
			}
			
			$this->load->view('template/header', array("current" => "sites"));
			$this->load->view('sites/index');
			$this->load->view('template/footer');
		}
		
		public function map()
		{
			if( ! file_exists('application/views/sites/map.php') )
			{
				show_404();
			}
						
			$this->load->view('sites/map', array("address" => $this->input->get("address", true)));

		}
		
	}
?>